package BedRoom.Practice;

public class LeiDuiXiang {
	/*public void operate(String x,String y){
		x=x+y;y=x;
	}
public static void main(String[] args) {
	LeiDuiXiang j=new LeiDuiXiang();
	String a=new String("dog");
	String b=new String("cat");
	j.operate(a, b);
	System.out.println(a+","+b);
}*/
	
	/*static int a;
	public int aMethod(){
		a++;
		return a;
	}
	public static void main(String[] args) {
		LeiDuiXiang j=new LeiDuiXiang();
		j.aMethod();
		System.out.println(j.aMethod());
	}*/
	
	int count=9;
	public void M1(){
		count=10;
		System.out.println("count1="+count);
		}
		public void M2(){
			System.out.println("count2="+count);
		
	}
		public static void main(String[] args) {
			LeiDuiXiang num=new LeiDuiXiang();
			num.M1();
			num.M2();
		}
}
